This folder includes the files necessary to replicate the results of
"Covariate Balancing Propensicty Score for a Continuous Treatment: 
Application to the Efficacy of Political Advertisements" by
Christian Fong, Chad Hazlett, and Kosuke Imai.  It includes
the following files:

cbps_0.14.tar.gz
The tarball to build the version of the CBPS package used
to generate these results.  The current version available
on CRAN should still replicate these results, but if that
version is not working due to an interface or command change,
install CBPS from this tarball.

simulations_replication.R: 
Replicates the simulations from Section 4 of the paper, 
building Figure 1 and Figure 2 in the process.

FECForCEM.RDATA
The data from Urban and Niebler (2014), provided by their
replication data.  Called by DollarsBoot.R and DollarsRep.R.

DollarsRep.R
Replicates the analysis in Section 5, building Figure 3,
Table 1, and Table 2 in the process.   Make sure to edit the
file paths to point to the replication directory on your computer.

UNBoot.csv
The results of running the analysis in 5000 boostrap replicates.
Running the bootstraps requires access to a cluster computer,
so our bootstraps and their seeds (provided in the first column)
are given here.

DollarsBoot.R
The code used to build the boostrap replicates.  Consult this
for the meaning of the columns in UNBoot.csv.  Each row in UNBOot.csv
is a run of this file with the given seed.

analytic_vcov.R
A temporary file that allows the estimation of the analytic variance
of the coefficients from a CBGPS analysis without bootstrapping.
Will be removed once the CBPS package is updated to include its functions.